package com.csmz.enterprise.domain;

import com.csmz.common.annotation.Excel;
import com.csmz.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 兼职岗位对象 csmz_parttime_position
 * 
 * @author TT
 * @date 2025-09-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CsmzParttimePosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 岗位标题 */
    @Excel(name = "岗位标题")
    private String title;

    /** 薪资信息 */
    @Excel(name = "薪资信息")
    private String salary;

    /** 工作时长 */
    @Excel(name = "工作时长")
    private String workDuration;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 工作地点 */
    @Excel(name = "工作地点")
    private String location;

    /** 岗位要求 */
    @Excel(name = "岗位要求")
    private String requirements;

    /** 发布企业名称 */
    @Excel(name = "发布企业名称")
    private String publisher;

    /** 需求数量 */
    @Excel(name = "需求数量")
    private Integer requiresNum;

    /** 招聘状态 */
    @Excel(name = "招聘状态")
    private Integer recruitmentSwitch;

}
